﻿@model VoiceAd.Models.tblProvince
@{
    ViewBag.Title = "Edit Province";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}
<h2>
    Sửa thông tin tỉnh thành</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Thông tin</legend>
        @Html.HiddenFor(model => model.Id)
        <div class="editor-label">
            Tỉnh/Thành
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ProvinceName)
            @Html.ValidationMessageFor(model => model.ProvinceName)
        </div>
        <p>
            <input type="submit" value="Lưu" />
        </p>
    </fieldset>
}
<div>
    <a href="@Url.Content("~/province-1.html")">Quản lý tỉnh thành</a>
</div>
